<?php

interface iDBCA{
	public function beginTransaction();
	public function commit();
	public function rollBack();
	public function isInTransaction();
	public function execute($sql);
	public function createStatement($sql);
	public function &preDefinedQuery($queryFile,$_params=null);
	public function &preDefinedLoad($queryFile,$_params=null);
	//public function &preDefinedQueryE($entityName,$queryFile,$_params = null);
	//public function &preDefinedLoadE($entityName,$queryFile,$_params = null);
	public function fetch(entity &$_entity);
	public function load(entity &$_entity);
	public function save(entity &$_entity);
	public function delete(entity &$_entity);
}